﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebRequestCenterMgr
{
    public partial class charge : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                try
                {
                    string strArea = string.Empty, strOp = string.Empty, strImsi = string.Empty, strId = string.Empty;
                    if (Request.QueryString["Area"] != null)
                        strArea = Request.QueryString["Area"].ToString().Trim();
                    if (Request.QueryString["Op"] != null)
                        strOp = Request.QueryString["Op"].ToString().Trim();
                    if (Request.QueryString["Id"] != null)
                        strId = Request.QueryString["Id"].ToString().Trim();
                    if (Request.QueryString["Imsi"] != null)
                        strImsi = Request.QueryString["Imsi"].ToString().Trim();

                    if (!string.IsNullOrEmpty(strArea) && !string.IsNullOrEmpty(strOp) && !string.IsNullOrEmpty(strId) && !string.IsNullOrEmpty(strImsi))
                    {
                        Response.Write(MM.DBUtility.BLSqlDataChargeV2.GetChargeInfo(strArea, strOp, strId, strImsi));
                    }
                }
                catch (Exception ex)
                {
                    MM.Common.LogHelp.WriteLogInfo(ex.ToString());
                    Response.Write("");
                }
            }
        }
    }
}
